package com.lxk.service;

import com.lxk.pojo.Cashout;
import com.lxk.vo.CashoutModel;
import com.lxk.vo.PageModel;

/**
 * @author JohnSoybean
 * @create 2020/4/3 19:22
 * @description
 */
public interface CashoutService {

    /**
     * 获取提现总页数
     * @param num
     * @return
     */
    Integer getCashoutPages(Integer num);

    /**
     * 获取普通商品分页
     * @param pageIndex
     * @param num
     * @param totalPages
     * @return
     */
    PageModel<CashoutModel> selCashoutPage(Integer pageIndex, Integer num, Integer totalPages, Integer sort, Integer order);

    /**
     * 更新提现信息
     * @param cashout
     * @return
     */
    Integer updCashout(Cashout cashout);


    /**
     * 查找提现
     * @param cashoutId
     * @return
     */
    Cashout selCashout(Integer cashoutId);



}
